﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GDModel.Model.Entity
{
    /// <summary>
    /// 人物角色类
    /// </summary>
    public class Character : Role
    {
        private int m_characterid;
        /// <summary>
        /// 角色id
        /// </summary>
        public int Characterid
        {
            get { return m_characterid; }
            set { m_characterid = value; }
        }

        private CharacterProfession m_profession;
        /// <summary>
        /// 角色职业
        /// </summary>
        public CharacterProfession Profession
        {
            get { return m_profession; }
            set { m_profession = value; }
        }
        
        private int m_money;

        /// <summary>
        /// 金钱
        /// </summary>
        public int Money
        {
            get { return m_money; }
            set { m_money = value; }
        }
        private DateTime m_offlinetime;

        /// <summary>
        /// 离线时间
        /// </summary>
        public DateTime Offlinetime
        {
            get { return m_offlinetime; }
            set { m_offlinetime = value; }
        }
        private int m_busy;
        /// <summary>
        /// 忙碌
        /// </summary>
        public int Busy
        {
            get { return m_busy; }
            set { m_busy = value; }
        }
        private CharacterState m_state;
        /// <summary>
        /// 角色状态
        /// </summary>
        public CharacterState State
        {
            get { return m_state; }
            set { m_state = value; }
        }
        private int m_gender;
        /// <summary>
        /// 性别
        /// </summary>
        public int Gender
        {
            get { return m_gender; }
            set { m_gender = value; }
        }
        private int m_level;
        /// <summary>
        /// 等级
        /// </summary>
        public int Level
        {
            get { return m_level; }
            set { m_level = value; }
        }
    
        private int alive;
        /// <summary>
        /// 是否活着
        /// </summary>
        public int Alive
        {
            get { return alive; }
            set { alive = value; }
        }

        private int m_uid;
        /// <summary>
        /// 所属玩家
        /// </summary>
        public int Uid
        {
            get { return m_uid; }
            set { m_uid = value; }
        }

        private string m_task;
        /// <summary>
        /// 任务
        /// task#123,任务并引用123号
        /// treasure#345,寻宝并引用345号任务
        /// </summary>
        public string Task
        {
            get { return m_task; }
            set { m_task = value; }
        }

        private DateTime m_registerdate;
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime Registerdate
        {
            get { return m_registerdate; }
            set { m_registerdate = value; }
        }
        private string m_registerip;
        /// <summary>
        /// 注册ip
        /// </summary>
        public string Registerip
        {
            get { return m_registerip; }
            set { m_registerip = value; }
        }
        private DateTime m_lastlogindate;

        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTime Lastlogindate
        {
            get { return m_lastlogindate; }
            set { m_lastlogindate = value; }
        }
        private string m_lastloginip;

        /// <summary>
        /// 最后登录ip
        /// </summary>
        public string Lastloginip
        {
            get { return m_lastloginip; }
            set { m_lastloginip = value; }
        }

        private DateTime m_lastchanged;
        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime Lastchanged
        {
            get { return m_lastchanged; }
            set { m_lastchanged = value; }
        }

    }
}
